package com.alibaba.api.utils;

import com.alibaba.api.pojo.User;

public class UserThreadLocal {
    private static final java.lang.ThreadLocal<User> threadLocal = new java.lang.ThreadLocal<>();

    public static User get() {
        return threadLocal.get();
    }

    public static void set(User user) {
        threadLocal.set(user);
    }
}
